package com.tz.movie.domain;

import com.alibaba.fastjson.JSONObject;

public class Place {
  private Integer id;

  private String name;

  private String info;

  private Integer siterows;

  private Integer sitecol;

  @Override
  public String toString() {

    JSONObject jsonObject = new JSONObject();
    jsonObject.put("id", getId());
    jsonObject.put("name", getName());
    jsonObject.put("info", getInfo());
    jsonObject.put("siterows", getSiterows());
    jsonObject.put("sitecol", getSitecol());
    return jsonObject.toJSONString();
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name == null ? null : name.trim();
  }

  public String getInfo() {
    return info;
  }

  public void setInfo(String info) {
    this.info = info == null ? null : info.trim();
  }

  public Integer getSiterows() {
    return siterows;
  }

  public void setSiterows(Integer siterows) {
    this.siterows = siterows;
  }

  public Integer getSitecol() {
    return sitecol;
  }

  public void setSitecol(Integer sitecol) {
    this.sitecol = sitecol;
  }
}